package com.wangsd.web.face.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.wangsd.web.face.entity.ReceiveRecord;
import com.wangsd.web.face.entity.Receiver;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * Mapper 接口
 * </p>
 *
 * @author generator
 * @since 2019-09-17
 */
public interface ReceiverMapper extends BaseMapper<Receiver> {
    IPage<Receiver> selectListXml(Page<Receiver> page, @Param("receiver") Receiver receiver);

    List<Receiver> selectByMerchantIdXml(Long merchantId);

    List<ReceiveRecord> selectPaymentByOrderIdXml(Long id);
}
